import os

file_dir = '/media/raywit/6F28CBED6309BB1A/code/yolov5_js'
for root,dirs,files in os.walk(file_dir):
    # print()
    print('The num of dir: {}'.format(len(dirs)))
    for dir in dirs:
        print(dir)
    print("============ Dirs Done ================")
    print('The num of file: {}'.format(len(files)))
    for file in files:
        print(file)
    print("============ File Done ================")
    break